package com.ruoyi.menuOrders.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 点菜订单对象 menu_orders
 * 
 * @author shz
 * @date 2024-07-17
 */
public class MenuOrders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    @Excel(name = "订单id")
    private Long id;

    /** 订购内容 */
    @Excel(name = "订购内容")
    private String content;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /** 外键 */
    private Long uid;

    /** 顾客用户名 */
    @Excel(name = "顾客用户名")
    private String customer;

    /** 顾客电话 */
    @Excel(name = "顾客电话")
    private String phone;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 成本 */
    @Excel(name = "成本")
    private Long cost;

    /** 基地名称 */
    @Excel(name = "基地名称")
    private String baseName;

    /** 支付时间 */
    @Excel(name = "支付时间")
    private String gmtPayment;

    /** 购买人在支付宝唯一ID */
    @Excel(name = "购买人在支付宝唯一ID")
    private String aliPaytradeNo;
    private String pid;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setCustomer(String customer) 
    {
        this.customer = customer;
    }

    public String getCustomer() 
    {
        return customer;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setCost(Long cost) 
    {
        this.cost = cost;
    }

    public Long getCost() 
    {
        return cost;
    }
    public void setBaseName(String baseName) 
    {
        this.baseName = baseName;
    }

    public String getBaseName() 
    {
        return baseName;
    }
    public void setGmtPayment(String gmtPayment) 
    {
        this.gmtPayment = gmtPayment;
    }

    public String getGmtPayment() 
    {
        return gmtPayment;
    }
    public void setAliPaytradeNo(String aliPaytradeNo) 
    {
        this.aliPaytradeNo = aliPaytradeNo;
    }

    public String getAliPaytradeNo() 
    {
        return aliPaytradeNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("notes", getNotes())
            .append("uid", getUid())
            .append("customer", getCustomer())
            .append("phone", getPhone())
            .append("price", getPrice())
            .append("cost", getCost())
            .append("baseName", getBaseName())
            .append("gmtPayment", getGmtPayment())
            .append("aliPaytradeNo", getAliPaytradeNo())
            .toString();
    }
}
